const Mock = require('mockjs')

const data = Mock.mock({

		formID: '@integer(0, 99)',
		companyID: '@integer(0, 299)',
		formInvestigationID: '@integer(0, 9)',

		formStartTotalNum: null,//12,
		formEndTotalNum: null,//2,

		formDecreaseType:null,//[],
		formFirstReason:"",//'其他',	//产业结构调整，其他
		formSecondReason:'自行离职',
		formThirdReason:null,//'',
		formReasonDescription:null,//'',
		formExamineStatus: 1,//'@integer(0, 7)',

		companyChineseName:'@cword(4, 6)',
})


module.exports = [
	{
		url: '/enterprise/dataFilling/fillingFormInfo',
		type: 'get',
		response: config => {
			// console.log(config.query.formID)
			const items = data.items
			return {
				code: 200,
				data: {
					total: items.length,
					items: items
				}
			}
		}
	}
]
